package edu.hm.swe2.domain;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;

@Entity
public class Lagerplatz {

	@Id
	private int id;
	
	private int halle;
	private String regal;

	@OneToMany(mappedBy="lagerplatz")
	private List<Lagergut> gueter;

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getHalle() {
		return halle;
	}
	public void setHalle(int halle) {
		this.halle = halle;
	}
	public String getRegal() {
		return regal;
	}
	public void setRegal(String regal) {
		this.regal = regal;
	}
	public List<Lagergut> getGueter() {
		return gueter;
	}
	public void setGueter(List<Lagergut> gueter) {
		this.gueter = gueter;
	}
	
	
	
}
